
#pragma once

#include "Ddx_game.h"
struct _iobuf_DDX {
	HANDLE filehandle;
};
typedef _iobuf_DDX FILE_ddx;
FILE_ddx* fopen_ddx( char *filename, const char *mode);
void fwrite_ddx( void *ptr, size_t size, size_t n,FILE_ddx *stream);
void fread_ddx(void *buffer,size_t size, size_t count,FILE_ddx *stream);
void fclose_ddx(FILE_ddx* fp);

extern FILE_ddx* g_Log[4];